<?php $this->load->view('qt/header'); ?>


<!--  PAPER WRAP -->
<div class="wrap-fluid">
    <div class="container-fluid paper-wrap bevel tlbr">

        <!-- CONTENT -->
        <!--TITLE -->
        <div class="row">
            <div id="paper-top">
                <div class="col-sm-12">
                    <h2 class="tittle-content-header">
                        <i class="qt-network"></i>
                        <span id="title-header">
                            <?php echo (isset($this->title_header)) ? $this->title_header : 'TRANG CHÍNH';?>
                        </span>
                    </h2>
                </div>
            </div>
        </div>
        <!--/ TITLE -->
        <ul id="breadcrumb">
            <li><span class="entypo-home"></span></li>
            <li><i class="fa fa-lg fa-angle-right"></i></li>
            <li><a href="#main">Trang chủ</a></li>
        </ul>
        <div class="content-wrap"  style="margin-top: 10px;">
 

<section class="vbox" id="detail_customer">

	<section class="scrollable">
		<section class="hbox stretch" style="background: white; float: left; padding: 5px !important; padding-top: 40px !important;">
			<aside class="col-lg-6 bg-light lter b-r">
				<section class="panel panel-success portlet-item" draggable="true" style="padding: 10px !important;" >
					<header class="panel-heading qthe" style="z-index: 2;">Doanh nghiệp chính </header>
					<?php $result = $this->data["result"];?>
					
					<div class=""  style="position: relative;">
						<section class="panel no-border bg-bla lt" >
							<div class="panel-body qtbo">
								<div class="clearfix text-center m-t">
									<div class="col-xs-12 text-center">
										<div class=""><!-- inline --><!--
											<div style="width: 140px; height: 140px; line-height: 140px;margin: 0 auto;">
												<div class="thumb-lg avatar">
													<img src="</images/avatar.png" class="dker">
												</div>
												<canvas width="140" height="140"></canvas>
											</div>
											-->
											<div class="col-xs-12 h4 m-t m-b-xs font-bold text-lt pointer  text-center" id="dt_first_name" style="padding-right: 5px;" data="cust_first_name">
												<?php echo $result["comp_name"];  ?>
											</div>

											<small class="text-muted m-b pointer " id="dt_address" data="cust_address">	
												<?php if($result["comp_address"]==""){ echo '......';}else{echo $result["comp_address"];}?>
											</small>
										</div>
									</div>
								</div>
								<div class="wrapper m-t m-b" style="width: 100%;">									
									
									 <div class="col-xs-12 text-right qtc qtk" style="border: none !important;">
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; width: 46%">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-time1" style="list-style: none; float: left;">&nbsp;</li>
                                         Giám Đốc
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                        <?php if($result["comp_ceo_name"]==""){ echo '......';}else{echo $result["comp_ceo_name"];} ?>
                                         </div>
										</div>
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; float: right;">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-phone" style="list-style: none; float: left;">&nbsp;</li>
                                        Điện thoại
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                         <?php if($result["comp_phone"]==""){ echo '......';}else{echo $result["comp_phone"];} ?>
                                         </div>
										</div>
                                        </div>
										
										
										 <div class="col-xs-12 text-right qtc qtk" style="border: none !important;">
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; width: 46%">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-time1" style="list-style: none; float: left;">&nbsp;</li>
                                         Tài khoản ngân hàng
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                        <?php if($result["cust_bank_account"]==""){ echo '......';}else{echo $result["cust_bank_account"];}?>
                                         </div>
										</div>
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; float: right;">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-phone" style="list-style: none; float: left;">&nbsp;</li>
                                      Mã số thuế
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                         <?php if($result["comp_tax_code"]==""){ echo '......';}else{echo $result["comp_tax_code"];}?>
                                         </div>
										</div>
                                        </div>
                                        
										
										
								
									
								</div>
							</div>
							
						</section>
					</div>
				</section>
			</aside>
			<aside class="col-lg-6 bg-light lter b-r">
				<section class="panel panel-success portlet-item" draggable="true" style="padding: 10px !important;" >
					<header class="panel-heading qthe" style="z-index: 2;">Doanh nghiệp conflict</header>
					<?php $result = $this->data["result_conflict"];?>
					<input type="hidden" id="comp_id" value="<?php echo $result["comp_id"]?>">	
					<div class=""  style="position: relative;">
						<section class="panel no-border bg-bla lt" >
							<div class="panel-body qtbo">
								<div class="clearfix text-center m-t">
									<div class="col-xs-12 text-center">
										<div class=""><!-- inline --><!--
											<div style="width: 140px; height: 140px; line-height: 140px;margin: 0 auto;">
												<div class="thumb-lg avatar">
													<img src="</images/avatar.png" class="dker">
												</div>
												<canvas width="140" height="140"></canvas>
											</div>
											-->
											<div class="col-xs-12 h4 m-t m-b-xs font-bold text-lt pointer  text-center" id="dt_first_name" style="padding-right: 5px;" data="cust_first_name">
												<?php echo $result["comp_name"];  ?>
											</div>

											<small class="text-muted m-b pointer " id="dt_address" data="cust_address">	
												<?php if($result["comp_address"]==""){ echo '......';}else{echo $result["comp_address"];}?>
											</small>
										</div>
									</div>
								</div>
								<div class="wrapper m-t m-b" style="width: 100%;">									
									
									 <div class="col-xs-12 text-right qtc qtk" style="border: none !important;">
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; width: 46%">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-time1" style="list-style: none; float: left;">&nbsp;</li>
                                         Giám Đốc
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                        <?php if($result["comp_ceo_name"]==""){ echo '......';}else{echo $result["comp_ceo_name"];} ?>
                                         </div>
										</div>
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; float: right;">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-phone" style="list-style: none; float: left;">&nbsp;</li>
                                        Điện thoại
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                         <?php if($result["comp_phone"]==""){ echo '......';}else{echo $result["comp_phone"];} ?>
                                         </div>
										</div>
                                        </div>
										
										
										 <div class="col-xs-12 text-right qtc qtk" style="border: none !important;">
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; width: 46%">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-time1" style="list-style: none; float: left;">&nbsp;</li>
                                         Tài khoản ngân hàng
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                        <?php if($result["cust_bank_account"]==""){ echo '......';}else{echo $result["cust_bank_account"];}?>
                                         </div>
										</div>
                                        
                                        <div class="col-xs-6 text-right qtc" style="margin: 0px !important; float: right;">
                                         <div class="col-xs-6 text-right qtcc qtccl">
                                         <li class="qt-phone" style="list-style: none; float: left;">&nbsp;</li>
                                      Mã số thuế
                                         </div>
                                         
                                         <div class="col-xs-6 text-right qtcc qtccr">
                                         <?php if($result["comp_tax_code"]==""){ echo '......';}else{echo $result["comp_tax_code"];}?>
                                         </div>
										</div>
                                        </div>
                                        
										
										
								
									
								</div>
							</div>
							<footer class="panel-footer dk text-center no-border">
								<div class="row pull-out">
									<div class="col-xs-4">
										<div class="padder-v"> 
										<span class="m-b-xs h3 block text-white">
											<button type="button" onclick="removeComp()" class="btn btn-danger btn-s-lg"><i class="i i-trashcan"></i> Xóa</button>
										</span> <small class="text-muted"></small>
										</div>
									</div>
									<div class="col-xs-4 dker">
										<div class="padder-v"> <span class="m-b-xs h3 block text-white">---</span> <small class="text-muted"></small>
										</div>
									</div>
									<div class="col-xs-4">
										<div class="padder-v">
										 <span class="m-b-xs h3 block text-white">
											<button type="button" onclick="keepComp()" class="btn btn-success btn-s-lg"><i class="f f-pluss"></i> Giữ Lại</button>
										</span> <small class="text-muted"></small>
										</div>
									</div>
								</div>
							</footer>
						</section>
					</div>
					
					
					
				</section>
			</aside>
		</section>
	</section>
</section>
        
</div>
<div class="content-wrap" id="show-content2"></div>
<div class="content-wrap"> 
<?php $this->load->view('qt/footer'); ?>